<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2019/4/23
  Time: 12:06
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%-- 周依博！！菜品添加页面测试--%>
<form action="AddFoodServlet" method="post" enctype="multipart/form-data">
    菜名：<input type="text" name="name"><br>
    价格：<input type="text" name="price"><br>
    类型:<select name="typeid">
    <c:forEach items="${typeList}" var="t">
    <option value="${t.tid}">${t.type}</option>
    </c:forEach>
</select><br>
    图片：<input type="file" name="pic"><br>
    <input type="submit" value="提交">
</form>
</body>
</html>
